/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package atributosDef;

import java.util.ArrayList;
import tablaDeSimbolos.TablaDeSimbolos;

/**
 *
 * @author Prado
 */
public class AtributosDefConstantesOVariables extends AtributosDef{
    
    private int dir;
    private Registro registroConstOVar;

    public AtributosDefConstantesOVariables(int dir, Registro registroConstOVar, TablaDeSimbolos ts, int etq, ArrayList<Instruccion> cod, boolean[] errores) {
        super(ts, etq, cod, errores);
        this.dir = dir;
        this.registroConstOVar = registroConstOVar;
    }

    public int getDir() {
        return dir;
    }

    public Registro getRegistroConstOVar() {
        return registroConstOVar;
    }
    
}
